import java.util.PriorityQueue;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2024-01-23
 * Time: 21:37
 */
public class Test {
    public static void main(String[] args) {
        Person person1=new Person("zhansgan",12);
        Person person2=new Person("lisi",14);
       // System.out.println(person1.compareTo(person2));
        PriorityQueue<Person> priorityQueue=new PriorityQueue<>();
        priorityQueue.offer(person1);
        priorityQueue.offer(person2);



    }
}
